/**系统管理
 * Auth login 验证登录 roles 验证登录且验证权限
 * **/
import Layout from '@/views/layout/Layout'
import itReportLayout from '@/views/layout/itReportLayout'
const systemRouter = {
    path: '/system',
    component: Layout,
    redirect: '/system/index',
    name: 'System',
    meta: {
        parent: "system",
        title: "系统管理",
        Auth: 'login'
    },
    children: [{
            path: '/system/setting',
            component: () =>
                import ('@/views/system/settingList'),
            name: 'settingList',
            meta: {
                title: '系统参数',
                Auth: "070600",
                icon: "setting",
                desc: "完成系统运行所需参数的配置"
            }
        },
        {
            path: '/system/user',
            component: () =>
                import ('@/views/system/userList'),
            name: 'userList',
            meta: {
                title: '节假日设置',
                icon: "users",
                desc: "设置用户基本信息、角色、报表授权、库房和餐厅授权。",
                Auth: "070700"
            }
        },
        {
            path: '/system/buildGate',
            component: () =>
                import ('@/views/system/buildGate'),
            name: 'buildGate',
            meta: {
                title: '楼宇闸机',
                icon: "users",
                desc: "楼宇闸机",
                Auth: "070800"
            }
        },

    ]
}

export default systemRouter